package com.xj.util;


import org.apache.poi.ss.usermodel.CellType;

import java.util.List;


public class XLSField {
    private String fieldname;       //字段
    private String label;  //名称
    private  DataType dataType;      //数据类型
    private String format;       //格式化 :仅在dataType是数字&日期类型时有用
    private int nameColumn;  //列号
    private int nameRow;    //行号
   private  int  width=0; //宽度



    public XLSField( String fieldname, String label, DataType  dataType, String format,int  width) {
        this.fieldname = fieldname;
        this.label = label;
        this.dataType = dataType;
        this.format = format;
        this.width=width;
    }


public XLSField(){
        super();
}


    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }




    public int getNameRow() {
        return nameRow;
    }

    public void setNameRow(int nameRow) {
        this.nameRow = nameRow;
    }



    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public String getFieldname() {
        return fieldname;
    }

    public void setFieldname(String fieldname) {
        this.fieldname = fieldname;
    }


    public DataType getDataType() {
        return dataType;
    }

    public void setDataType(DataType dataType) {
        this.dataType = dataType;
    }
}
